package com.example.service.impl;

import com.example.domain.Menu;
import com.example.mapper.MenuMapper;
import com.example.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    private MenuMapper menuMapper;
    @Override
    public Menu selectByPrimaryKey(Long id) {

        return menuMapper.selectByPrimaryKey(id);
    }
}
